def judge(lst):
    return len(set(lst)) == len(lst)

print(judge("aab"))
print(judge("abcd"))
